﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DiamondDesktop.Presenters;
using DiamondDesktop.Model;

namespace DiamondDesktop.Presenters
{
    interface IDatabase
    {
        IList<Task> getPeriodTasks(DateTime start, DateTime end);
        IList<Task> getTodaySchedule(DateTime last, DateTime today);
        IList<Task> getDaySchedule(DateTime date);
        bool storeTasks(IList<Task> tasks, DateTime d);
        bool saveTask(Task task);
        bool modifyTask(Task task);
        bool deleteTask(Task task);
        void setPath(string path);

    }
}
